<?php
/**
 * Created by PhpStorm.
 * User: 小蛮哼哼哼
 * Email: 243194993@qq.com
 * Date: 2021/11/19
 * Time: 11:51
 * motto: 现在的努力是为了小时候吹过的牛逼！
 */

declare(strict_types=1);

namespace app\api\controller;

use EasyWeChat\Factory;

trait Payment
{
    protected $wechat_payment;
    public function __construct()
    {
        $this->wechat_payment = Factory::payment(config('wechat.miniPay'));
    }
}